<template>
	<view>
		<view>
			
		</view>
		<view class="item_view" v-for="(item,index) in matchList" :key="index" >
			<view>111</view>
		</view>
		<view v-show="matchList.length <= 0">
			<view style="margin: 40rpx auto;">暂无匹配结果</view>
		</view>
	</view>
</template>

<script>
	import * as mydata from '@/api/system/dict/data.js'
	import * as match from '@/api/intelligentMatch.js'
	
	export default {
			data() {
				return {
					need:{},
					matchList:[],
				}
			},
			onLoad(option) {
				this.need = option.need
				console.log(this.need)
				this.getMatchList()
			},
			methods:{
				getMatchList(){
					// match.cgneed(this.need).then((res)=>{
					// 	this.matchList = res.data
					// })
					match.rcneed(this.need).then((res)=>{
						this.matchList = res.data
					})
				},
			}
	}
</script>

<style>
</style>